package Thread;

public class test1 {

    static class MyThread extends Thread{
        @Override
        public void run() {
            System.out.println("hello thread");
        }
    }


    public static void main(String[] args) {
        Thread t1=new MyThread();
        t1.start();
        System.out.println("hello main");
    }
}
